<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver CH9121: ch9121 link driver function</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver CH9121
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">CH9121 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__ch9121__link__driver.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">ch9121 link driver function<div class="ingroups"><a class="el" href="group__ch9121__driver.html">ch9121 driver function</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>ch9121 link driver modules  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga409c3dd931fe613dc84f993d5dbc8c4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga409c3dd931fe613dc84f993d5dbc8c4f">DRIVER_CH9121_LINK_INIT</a>(HANDLE,  STRUCTURE)&#160;&#160;&#160;memset(HANDLE, 0, sizeof(STRUCTURE))</td></tr>
<tr class="memdesc:ga409c3dd931fe613dc84f993d5dbc8c4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize ch9121 structure  <a href="group__ch9121__link__driver.html#ga409c3dd931fe613dc84f993d5dbc8c4f">More...</a><br /></td></tr>
<tr class="separator:ga409c3dd931fe613dc84f993d5dbc8c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e61223b55c40df66fcfb6e69d9131ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga6e61223b55c40df66fcfb6e69d9131ef">DRIVER_CH9121_LINK_UART_INIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;uart_init = FUC</td></tr>
<tr class="memdesc:ga6e61223b55c40df66fcfb6e69d9131ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">link uart_init function  <a href="group__ch9121__link__driver.html#ga6e61223b55c40df66fcfb6e69d9131ef">More...</a><br /></td></tr>
<tr class="separator:ga6e61223b55c40df66fcfb6e69d9131ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40b113b7c859b827abfd6780377a5502"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga40b113b7c859b827abfd6780377a5502">DRIVER_CH9121_LINK_UART_DEINIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;uart_deinit = FUC</td></tr>
<tr class="memdesc:ga40b113b7c859b827abfd6780377a5502"><td class="mdescLeft">&#160;</td><td class="mdescRight">link uart_deinit function  <a href="group__ch9121__link__driver.html#ga40b113b7c859b827abfd6780377a5502">More...</a><br /></td></tr>
<tr class="separator:ga40b113b7c859b827abfd6780377a5502"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0fe6d513f62acdb4dbb9e8420c93825"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#gad0fe6d513f62acdb4dbb9e8420c93825">DRIVER_CH9121_LINK_UART_READ</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;uart_read = FUC</td></tr>
<tr class="memdesc:gad0fe6d513f62acdb4dbb9e8420c93825"><td class="mdescLeft">&#160;</td><td class="mdescRight">link uart_read function  <a href="group__ch9121__link__driver.html#gad0fe6d513f62acdb4dbb9e8420c93825">More...</a><br /></td></tr>
<tr class="separator:gad0fe6d513f62acdb4dbb9e8420c93825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69b27dfd7e601bc5c17a7d5dafa850cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga69b27dfd7e601bc5c17a7d5dafa850cc">DRIVER_CH9121_LINK_UART_WRITE</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;uart_write = FUC</td></tr>
<tr class="memdesc:ga69b27dfd7e601bc5c17a7d5dafa850cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">link uart_write function  <a href="group__ch9121__link__driver.html#ga69b27dfd7e601bc5c17a7d5dafa850cc">More...</a><br /></td></tr>
<tr class="separator:ga69b27dfd7e601bc5c17a7d5dafa850cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb2a67ee1bfbdd847988cdd396257371"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#gafb2a67ee1bfbdd847988cdd396257371">DRIVER_CH9121_LINK_UART_FLUSH</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;uart_flush = FUC</td></tr>
<tr class="memdesc:gafb2a67ee1bfbdd847988cdd396257371"><td class="mdescLeft">&#160;</td><td class="mdescRight">link uart_flush function  <a href="group__ch9121__link__driver.html#gafb2a67ee1bfbdd847988cdd396257371">More...</a><br /></td></tr>
<tr class="separator:gafb2a67ee1bfbdd847988cdd396257371"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40a4aed5ba0e1f4efd1efe2fc7ecea5d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga40a4aed5ba0e1f4efd1efe2fc7ecea5d">DRIVER_CH9121_LINK_RESET_GPIO_INIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_init = FUC</td></tr>
<tr class="memdesc:ga40a4aed5ba0e1f4efd1efe2fc7ecea5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">link reset_gpio_init function  <a href="group__ch9121__link__driver.html#ga40a4aed5ba0e1f4efd1efe2fc7ecea5d">More...</a><br /></td></tr>
<tr class="separator:ga40a4aed5ba0e1f4efd1efe2fc7ecea5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae85970c93a3c9d98dec1ccb33ad375db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#gae85970c93a3c9d98dec1ccb33ad375db">DRIVER_CH9121_LINK_RESET_GPIO_DEINIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_deinit = FUC</td></tr>
<tr class="memdesc:gae85970c93a3c9d98dec1ccb33ad375db"><td class="mdescLeft">&#160;</td><td class="mdescRight">link reset_gpio_deinit function  <a href="group__ch9121__link__driver.html#gae85970c93a3c9d98dec1ccb33ad375db">More...</a><br /></td></tr>
<tr class="separator:gae85970c93a3c9d98dec1ccb33ad375db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1182541d507b220cf1866d521ae6bd5e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga1182541d507b220cf1866d521ae6bd5e">DRIVER_CH9121_LINK_RESET_GPIO_WRITE</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_write = FUC</td></tr>
<tr class="memdesc:ga1182541d507b220cf1866d521ae6bd5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">link reset_gpio_write function  <a href="group__ch9121__link__driver.html#ga1182541d507b220cf1866d521ae6bd5e">More...</a><br /></td></tr>
<tr class="separator:ga1182541d507b220cf1866d521ae6bd5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaffff92abb09f96162331cc20d6aceebe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#gaffff92abb09f96162331cc20d6aceebe">DRIVER_CH9121_LINK_CFG_GPIO_INIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_init = FUC</td></tr>
<tr class="memdesc:gaffff92abb09f96162331cc20d6aceebe"><td class="mdescLeft">&#160;</td><td class="mdescRight">link cfg_gpio_init function  <a href="group__ch9121__link__driver.html#gaffff92abb09f96162331cc20d6aceebe">More...</a><br /></td></tr>
<tr class="separator:gaffff92abb09f96162331cc20d6aceebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5b8ff6f7e29bcd379ac5e2ff0b21a28"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#gaf5b8ff6f7e29bcd379ac5e2ff0b21a28">DRIVER_CH9121_LINK_CFG_GPIO_DEINIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_deinit = FUC</td></tr>
<tr class="memdesc:gaf5b8ff6f7e29bcd379ac5e2ff0b21a28"><td class="mdescLeft">&#160;</td><td class="mdescRight">link cfg_gpio_deinit function  <a href="group__ch9121__link__driver.html#gaf5b8ff6f7e29bcd379ac5e2ff0b21a28">More...</a><br /></td></tr>
<tr class="separator:gaf5b8ff6f7e29bcd379ac5e2ff0b21a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bf647ca4b41eade29b7f036d6de3ddf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga7bf647ca4b41eade29b7f036d6de3ddf">DRIVER_CH9121_LINK_CFG_GPIO_WRITE</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_write = FUC</td></tr>
<tr class="memdesc:ga7bf647ca4b41eade29b7f036d6de3ddf"><td class="mdescLeft">&#160;</td><td class="mdescRight">link cfg_gpio_write function  <a href="group__ch9121__link__driver.html#ga7bf647ca4b41eade29b7f036d6de3ddf">More...</a><br /></td></tr>
<tr class="separator:ga7bf647ca4b41eade29b7f036d6de3ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8af2fa23a714ca60a19362abb8aa8d2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga8af2fa23a714ca60a19362abb8aa8d2f">DRIVER_CH9121_LINK_DELAY_MS</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;delay_ms = FUC</td></tr>
<tr class="memdesc:ga8af2fa23a714ca60a19362abb8aa8d2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">link delay_ms function  <a href="group__ch9121__link__driver.html#ga8af2fa23a714ca60a19362abb8aa8d2f">More...</a><br /></td></tr>
<tr class="separator:ga8af2fa23a714ca60a19362abb8aa8d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1747903d6a185534d10073922e354c0a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__link__driver.html#ga1747903d6a185534d10073922e354c0a">DRIVER_CH9121_LINK_DEBUG_PRINT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;debug_print = FUC</td></tr>
<tr class="memdesc:ga1747903d6a185534d10073922e354c0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">link debug_print function  <a href="group__ch9121__link__driver.html#ga1747903d6a185534d10073922e354c0a">More...</a><br /></td></tr>
<tr class="separator:ga1747903d6a185534d10073922e354c0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>ch9121 link driver modules </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gaf5b8ff6f7e29bcd379ac5e2ff0b21a28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5b8ff6f7e29bcd379ac5e2ff0b21a28">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_CFG_GPIO_DEINIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_CFG_GPIO_DEINIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_deinit = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link cfg_gpio_deinit function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a cfg_gpio_deinit function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00251">251</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="gaffff92abb09f96162331cc20d6aceebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaffff92abb09f96162331cc20d6aceebe">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_CFG_GPIO_INIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_CFG_GPIO_INIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_init = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link cfg_gpio_init function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a cfg_gpio_init function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00243">243</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga7bf647ca4b41eade29b7f036d6de3ddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7bf647ca4b41eade29b7f036d6de3ddf">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_CFG_GPIO_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_CFG_GPIO_WRITE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;cfg_gpio_write = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link cfg_gpio_write function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a cfg_gpio_write function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00259">259</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga1747903d6a185534d10073922e354c0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1747903d6a185534d10073922e354c0a">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_DEBUG_PRINT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_DEBUG_PRINT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;debug_print = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link debug_print function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a debug_print function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00275">275</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga8af2fa23a714ca60a19362abb8aa8d2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8af2fa23a714ca60a19362abb8aa8d2f">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_DELAY_MS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_DELAY_MS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;delay_ms = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link delay_ms function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a delay_ms function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00267">267</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga409c3dd931fe613dc84f993d5dbc8c4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga409c3dd931fe613dc84f993d5dbc8c4f">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_INIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_INIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">STRUCTURE&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;memset(HANDLE, 0, sizeof(STRUCTURE))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>initialize ch9121 structure </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">STRUCTURE</td><td>is ch9121_handle_t </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00171">171</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="gae85970c93a3c9d98dec1ccb33ad375db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae85970c93a3c9d98dec1ccb33ad375db">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_RESET_GPIO_DEINIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_RESET_GPIO_DEINIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_deinit = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link reset_gpio_deinit function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a reset_gpio_deinit function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00227">227</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga40a4aed5ba0e1f4efd1efe2fc7ecea5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga40a4aed5ba0e1f4efd1efe2fc7ecea5d">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_RESET_GPIO_INIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_RESET_GPIO_INIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_init = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link reset_gpio_init function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a reset_gpio_init function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00219">219</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga1182541d507b220cf1866d521ae6bd5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1182541d507b220cf1866d521ae6bd5e">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_RESET_GPIO_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_RESET_GPIO_WRITE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;reset_gpio_write = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link reset_gpio_write function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a reset_gpio_write function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00235">235</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga40b113b7c859b827abfd6780377a5502"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga40b113b7c859b827abfd6780377a5502">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_UART_DEINIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_UART_DEINIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;uart_deinit = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link uart_deinit function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a uart_deinit function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00187">187</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="gafb2a67ee1bfbdd847988cdd396257371"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb2a67ee1bfbdd847988cdd396257371">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_UART_FLUSH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_UART_FLUSH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;uart_flush = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link uart_flush function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a uart_flush function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00211">211</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga6e61223b55c40df66fcfb6e69d9131ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e61223b55c40df66fcfb6e69d9131ef">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_UART_INIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_UART_INIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;uart_init = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link uart_init function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a uart_init function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00179">179</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="gad0fe6d513f62acdb4dbb9e8420c93825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0fe6d513f62acdb4dbb9e8420c93825">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_UART_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_UART_READ</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;uart_read = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link uart_read function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a uart_read function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00195">195</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
<a id="ga69b27dfd7e601bc5c17a7d5dafa850cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga69b27dfd7e601bc5c17a7d5dafa850cc">&#9670;&nbsp;</a></span>DRIVER_CH9121_LINK_UART_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DRIVER_CH9121_LINK_UART_WRITE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">HANDLE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FUC&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(HANDLE)-&gt;uart_write = FUC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link uart_write function </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">HANDLE</td><td>points to a ch9121 handle structure </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">FUC</td><td>points to a uart_write function address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121_8h_source.html#l00203">203</a> of file <a class="el" href="driver__ch9121_8h_source.html">driver_ch9121.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
